package org.quipu.client.events;

public abstract class AppEventProducer {

    private final AppEventBus eventBus;

    public AppEventProducer(AppEventBus eventBus) {
        if(eventBus == null)
            throw new IllegalArgumentException("Event bus is null");
        this.eventBus = eventBus;
    }

    public AppEventBus getEventBus() {
        return eventBus;
    }
}
